package userInterface.website;

import java.util.ArrayList;

import userInterface.TextUserInterface;

public abstract class WebsiteUserInterface extends TextUserInterface{

	protected boolean printURL;
	
	protected WebsiteUserInterface(boolean printURL) {
		this.printURL = printURL;
	}

	protected void printURL(String name, String url) {
		if (printURL) {
			output.println(name + ": " + url);
		}
	}

	protected void printURL(ArrayList<String> urlList) {
		if (printURL) {
			output.println(urlList);
		}
	}
}
